<?= $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs">
    <head>

        <?php if(defined('FACEBOOK')): ?>
        <?php $this->headLink()->appendStylesheet($this->baseUrl() . '/css/facebook.css') ?>
        <?php else: ?>
        <?php $this->headLink()->appendStylesheet($this->baseUrl() . '/css/global.css') ?>
        <?php endif ?>
        <?php $this->headScript()->prependFile($this->baseUrl().'/scripts/jquery.js') ?>

        <?= $this->headMeta() ?>
        <?= $this->headTitle() ?>
        <?= $this->headScript() ?>
        <?= $this->headLink() ?>
        <?= $this->headStyle() ?>

        <?php if (defined('FACEBOOK')): ?>
        <script type="text/javascript">
if ( top === window )
{
  window.location = '?top=true';
}

        </script>
        <?php endif ?>

    </head>

    <body>
           
            <?= $this->render('header.phtml', $this) ?>
<div id="page">

            <div id="content">


                <!-- main column -->
                <div id="main">
                    <div class="content">
                        <div id="banner"></div>

                        <?= $this->layout()->content ?>


                    </div><!-- class content -->
                </div><!-- main -->


                <br class="cl" />
            </div><!-- id content -->
            <?= $this->render('footer.phtml', $this) ?>

      
        </div><!-- page -->
    <?php // $this->GoogleAnalytics() ?>

    </body>
</html>
